//
// Created by jiang on 2021/12/15.
//

#ifndef __PWM_H
#define __PWM_H

#include "main.h"
#include "param.h"

void PWM_Init(pwm_t *pHandle);

void PWM_EnableOutput(pwm_t *pHandle);

void PWM_DisableOutput(pwm_t *pHandle);

void PWM_EnableTrigger(pwm_t *pHandle);

void PWM_SetCompare(pwm_t *pHandle, abc_t *t);


#endif //FOC_PWM_H
